﻿<UserControl x:Class="DiscoveryLogic.Analytics.Modules.Editors.Editor"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="450" Width="300" Loaded="UserControl_Loaded">
    <DockPanel LastChildFill="True">
            <StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Right" Margin="5" >
                <Button x:Name="btnCancel" Content="Cancel" Width="50" Margin="5,0,5,0" Click="btnCancel_Click" />
                <Button x:Name="btnApply" Content="Apply" Width="50" Click="btnApply_Click" />
            </StackPanel>
        <ScrollViewer 
            HorizontalScrollBarVisibility="Auto" 
            VerticalScrollBarVisibility="Auto" Margin="5">
            <TextBox 
                x:Name="txtContent" AcceptsReturn="True" 
                AcceptsTab="True" HorizontalAlignment="Stretch"
                VerticalAlignment="Stretch">
            </TextBox>
        </ScrollViewer>
    </DockPanel>
</UserControl>
